Optimal. Leaf size=339 \[ \frac{e^4 \sqrt{x} \left (\sqrt{a}+\sqrt{c} x\right ) \sqrt{\frac{a+c x^2}{\left (\sqrt{a}+\sqrt{c} x\right )^2}} \left (21 \sqrt{a} B+5 A \sqrt{c}\right ) \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right ),\frac{1}{2}\right )}{12 \sqrt [4]{a} c^{11/4} \sqrt{e x} \sqrt{a+c x^2}}-\frac{e^3 \sqrt{e x} (5 A+7 B x)}{6 c^2 \sqrt{a+c x^2}}-\frac{e (e x)^{5/2} (A+B x)}{3 c \left (a+c x^2\right )^{3/2}}+\frac{7 B e^4 x \sqrt{a+c x^2}}{2 c^{5/2} \sqrt{e x} \left (\sqrt{a}+\sqrt{c} x\right )}-\frac{7 \sqrt [4]{a} B e^4 \sqrt{x} \left (\sqrt{a}+\sqrt{c} x\right ) \sqrt{\frac{a+c x^2}{\left (\sqrt{a}+\sqrt{c} x\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 c^{11/4} \sqrt{e x} \sqrt{a+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.33838, antiderivative size = 339, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {819, 842, 840, 1198, 220, 1196} \[ -\frac{e^3 \sqrt{e x} (5 A+7 B x)}{6 c^2 \sqrt{a+c x^2}}+\frac{e^4 \sqrt{x} \left (\sqrt{a}+\sqrt{c} x\right ) \sqrt{\frac{a+c x^2}{\left (\sqrt{a}+\sqrt{c} x\right )^2}} \left (21 \sqrt{a} B+5 A \sqrt{c}\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{12 \sqrt [4]{a} c^{11/4} \sqrt{e x} \sqrt{a+c x^2}}-\frac{e (e x)^{5/2} (A+B x)}{3 c \left (a+c x^2\right )^{3/2}}+\frac{7 B e^4 x \sqrt{a+c x^2}}{2 c^{5/2} \sqrt{e x} \left (\sqrt{a}+\sqrt{c} x\right )}-\frac{7 \sqrt [4]{a} B e^4 \sqrt{x} \left (\sqrt{a}+\sqrt{c} x\right ) \sqrt{\frac{a+c x^2}{\left (\sqrt{a}+\sqrt{c} x\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 c^{11/4} \sqrt{e x} \sqrt{a+c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 819
Rule 842
Rule 840
Rule 1198
Rule 220
Rule 1196
Rubi steps
\begin{align*} \int \frac{(e x)^{7/2} (A+B x)}{\left (a+c x^2\right )^{5/2}} \, dx &=-\frac{e (e x)^{5/2} (A+B x)}{3 c \left (a+c x^2\right )^{3/2}}+\frac{\int \frac{(e x)^{3/2} \left (\frac{5}{2} a A e^2+\frac{7}{2} a B e^2 x\right )}{\left (a+c x^2\right )^{3/2}} \, dx}{3 a c}\\ &=-\frac{e (e x)^{5/2} (A+B x)}{3 c \left (a+c x^2\right )^{3/2}}-\frac{e^3 \sqrt{e x} (5 A+7 B x)}{6 c^2 \sqrt{a+c x^2}}+\frac{\int \frac{\frac{5}{4} a^2 A e^4+\frac{21}{4} a^2 B e^4 x}{\sqrt{e x} \sqrt{a+c x^2}} \, dx}{3 a^2 c^2}\\ &=-\frac{e (e x)^{5/2} (A+B x)}{3 c \left (a+c x^2\right )^{3/2}}-\frac{e^3 \sqrt{e x} (5 A+7 B x)}{6 c^2 \sqrt{a+c x^2}}+\frac{\sqrt{x} \int \frac{\frac{5}{4} a^2 A e^4+\frac{21}{4} a^2 B e^4 x}{\sqrt{x} \sqrt{a+c x^2}} \, dx}{3 a^2 c^2 \sqrt{e x}}\\ &=-\frac{e (e x)^{5/2} (A+B x)}{3 c \left (a+c x^2\right )^{3/2}}-\frac{e^3 \sqrt{e x} (5 A+7 B x)}{6 c^2 \sqrt{a+c x^2}}+\frac{\left (2 \sqrt{x}\right ) \operatorname{Subst}\left (\int \frac{\frac{5}{4} a^2 A e^4+\frac{21}{4} a^2 B e^4 x^2}{\sqrt{a+c x^4}} \, dx,x,\sqrt{x}\right )}{3 a^2 c^2 \sqrt{e x}}\\ &=-\frac{e (e x)^{5/2} (A+B x)}{3 c \left (a+c x^2\right )^{3/2}}-\frac{e^3 \sqrt{e x} (5 A+7 B x)}{6 c^2 \sqrt{a+c x^2}}-\frac{\left (7 \sqrt{a} B e^4 \sqrt{x}\right ) \operatorname{Subst}\left (\int \frac{1-\frac{\sqrt{c} x^2}{\sqrt{a}}}{\sqrt{a+c x^4}} \, dx,x,\sqrt{x}\right )}{2 c^{5/2} \sqrt{e x}}+\frac{\left (2 \left (\frac{21}{4} a^2 B e^4+\frac{5}{4} a^{3/2} A \sqrt{c} e^4\right ) \sqrt{x}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+c x^4}} \, dx,x,\sqrt{x}\right )}{3 a^{3/2} c^{5/2} \sqrt{e x}}\\ &=-\frac{e (e x)^{5/2} (A+B x)}{3 c \left (a+c x^2\right )^{3/2}}-\frac{e^3 \sqrt{e x} (5 A+7 B x)}{6 c^2 \sqrt{a+c x^2}}+\frac{7 B e^4 x \sqrt{a+c x^2}}{2 c^{5/2} \sqrt{e x} \left (\sqrt{a}+\sqrt{c} x\right )}-\frac{7 \sqrt [4]{a} B e^4 \sqrt{x} \left (\sqrt{a}+\sqrt{c} x\right ) \sqrt{\frac{a+c x^2}{\left (\sqrt{a}+\sqrt{c} x\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 c^{11/4} \sqrt{e x} \sqrt{a+c x^2}}+\frac{\left (21 \sqrt{a} B+5 A \sqrt{c}\right ) e^4 \sqrt{x} \left (\sqrt{a}+\sqrt{c} x\right ) \sqrt{\frac{a+c x^2}{\left (\sqrt{a}+\sqrt{c} x\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{12 \sqrt [4]{a} c^{11/4} \sqrt{e x} \sqrt{a+c x^2}}\\ \end{align*}
Mathematica [C] time = 0.119102, size = 139, normalized size = 0.41 \[ \frac{e^3 \sqrt{e x} \left (5 A \left (a+c x^2\right ) \sqrt{\frac{c x^2}{a}+1} \, _2F_1\left (\frac{1}{4},\frac{1}{2};\frac{5}{4};-\frac{c x^2}{a}\right )-5 a A+7 B x \left (a+c x^2\right ) \sqrt{\frac{c x^2}{a}+1} \, _2F_1\left (\frac{1}{2},\frac{3}{4};\frac{7}{4};-\frac{c x^2}{a}\right )-7 a B x-7 A c x^2-9 B c x^3\right )}{6 c^2 \left (a+c x^2\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.034, size = 584, normalized size = 1.7 \begin{align*}{\frac{{e}^{3}}{12\,x{c}^{3}} \left ( 5\,A\sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{2}\sqrt{{\frac{-cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{-{\frac{cx}{\sqrt{-ac}}}}{\it EllipticF} \left ( \sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}},1/2\,\sqrt{2} \right ) \sqrt{-ac}{x}^{2}c-21\,B\sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{2}\sqrt{{\frac{-cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{-{\frac{cx}{\sqrt{-ac}}}}{\it EllipticF} \left ( \sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}},1/2\,\sqrt{2} \right ){x}^{2}ac+42\,B\sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{2}\sqrt{{\frac{-cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{-{\frac{cx}{\sqrt{-ac}}}}{\it EllipticE} \left ( \sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}},1/2\,\sqrt{2} \right ){x}^{2}ac+5\,A\sqrt{-ac}\sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{2}\sqrt{{\frac{-cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{-{\frac{cx}{\sqrt{-ac}}}}{\it EllipticF} \left ( \sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}},1/2\,\sqrt{2} \right ) a-21\,B\sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{2}\sqrt{{\frac{-cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{-{\frac{cx}{\sqrt{-ac}}}}{\it EllipticF} \left ( \sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}},1/2\,\sqrt{2} \right ){a}^{2}+42\,B\sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{2}\sqrt{{\frac{-cx+\sqrt{-ac}}{\sqrt{-ac}}}}\sqrt{-{\frac{cx}{\sqrt{-ac}}}}{\it EllipticE} \left ( \sqrt{{\frac{cx+\sqrt{-ac}}{\sqrt{-ac}}}},1/2\,\sqrt{2} \right ){a}^{2}-18\,B{c}^{2}{x}^{4}-14\,A{c}^{2}{x}^{3}-14\,aBc{x}^{2}-10\,aAcx \right ) \sqrt{ex} \left ( c{x}^{2}+a \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x + A\right )} \left (e x\right )^{\frac{7}{2}}}{{\left (c x^{2} + a\right )}^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (B e^{3} x^{4} + A e^{3} x^{3}\right )} \sqrt{c x^{2} + a} \sqrt{e x}}{c^{3} x^{6} + 3 \, a c^{2} x^{4} + 3 \, a^{2} c x^{2} + a^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x + A\right )} \left (e x\right )^{\frac{7}{2}}}{{\left (c x^{2} + a\right )}^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]